package com.yex.service;

import com.baomidou.mybatisplus.service.IService;
import com.yex.common.utils.PageUtils;
import com.yex.entity.OrderEntity;
import com.yex.utils.JsonResultVo;

import java.util.Map;

/**
 * 订单
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-26 15:09:15
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params,String filter);

    JsonResultVo insertOrder(OrderEntity orderEntity);

    JsonResultVo updatePayOrder(String orderId);

    JsonResultVo updateOrderAuditing(Integer id);

    JsonResultVo updateOrderNoAuditing(Integer id);

    JsonResultVo updateRevokeOrder(String orderId);

    JsonResultVo updateOrderOvertime();

    JsonResultVo selectOrderInfo(Integer userId, String orderId);
}

